﻿using System;

namespace Taste
{
    internal class StateDefinition<TState, TTrigger>
        where TState : struct
        where TTrigger : struct
    {
        public TState Name { get; set; }
        public Action<ICurrentState<TState, TTrigger>> OnEntered { get; set; }
        public Action<IStateTransition<TState>> OnLeaving { get; set; }
    }
}
